<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Permutation pattern</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Permutation_pattern"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.math.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Permutation_pattern rootpage-Permutation_pattern skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Permutation pattern</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p>In <a href="Combinatorics" title="Combinatorics">combinatorial mathematics</a> and <a href="Theoretical_computer_science" title="Theoretical computer science">theoretical computer science</a>, a (classical) <b>permutation pattern</b> is a sub-permutation of a longer <a href="Permutation" title="Permutation">permutation</a>. Any permutation may be written in <a href="Permutation#One-line_notation" title="Permutation">one-line notation</a> as a sequence of entries representing the result of applying the permutation to the sequence 123...; for instance the sequence 213 represents the permutation on three elements that swaps elements 1 and 2. If π and σ are two permutations represented in this way (these variable names are standard for permutations and are unrelated to the number <a href="Pi" title="Pi">pi</a>), then π is said to <i>contain</i> σ as a <i>pattern</i> if some <a href="Subsequence" title="Subsequence">subsequence</a> of the entries of π has the same relative order as all of the entries of σ.
</p><p>For instance, permutation π contains the pattern 213 whenever π has three entries <i>x</i>, <i>y</i>, and <i>z</i> that appear within π in the order <i>x</i>...<i>y</i>...<i>z</i> but whose values are ordered as <i>y</i> < <i>x</i> < <i>z</i>, the same as the ordering of the values in the permutation 213.
</p><p>The permutation 32415 on five elements contains 213 as a pattern in several different ways: 3··15, ··415, 32··5, 324··, and ·2·15 all form triples of entries with the same ordering as 213. Note that the entries do not need to be consecutive. Each of the subsequences 315, 415, 325, 324, and 215 is called a <i>copy,</i> <i>instance,</i> or <i>occurrence</i> of the pattern. The fact that π contains σ is written more concisely as σ ≤ π.
</p><p>If a permutation π does not contain a pattern σ, then π is said to <i>avoid</i> σ. The permutation 51342 avoids 213; it has ten subsequences of three entries, but none of these ten subsequences has the same ordering as 213.
</p><p>An international conference dedicated to permutation patterns and related topics has been held annually since 2003, called <i><a href="Permutation_Patterns_(conference)" title="Permutation Patterns (conference)"> Permutation Patterns</a></i>.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Early_results">Early results</h2></div>
<p>A case can be made that <a href="Percy_MacMahon" class="mw-redirect" title="Percy MacMahon">Percy MacMahon</a> (<a href="#CITEREFMacMahon1915">1915</a>) was the first to prove a result in the field with his study of "lattice permutations".<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> In particular MacMahon shows that the permutations which can be divided into two decreasing subsequences (i.e., the 123-avoiding permutations) are counted by the <a href="Catalan_number" title="Catalan number">Catalan numbers</a>.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>
</p><p>Another early landmark result in the field is the <a href="Erd%C5%91s%E2%80%93Szekeres_theorem#Permutation_pattern_interpretation" title="Erdős–Szekeres theorem">Erdős–Szekeres theorem</a>; in permutation pattern language, the theorem states that for any positive integers <i>a</i> and <i>b</i> every permutation of length at least <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle (a-1)(b-1)+1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo stretchy="false">(</mo>
<mi>a</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
<mo stretchy="false">)</mo>
<mo stretchy="false">(</mo>
<mi>b</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
<mo stretchy="false">)</mo>
<mo>+</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle (a-1)(b-1)+1}</annotation>
</semantics>
</math></span><img src="./ff84ee2bc577e5f93cf19917444c93981998db24.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:17.855ex; height:2.843ex;" alt="{\displaystyle (a-1)(b-1)+1}" loading="lazy"></span> must contain either the pattern <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 1,2,3,\dots ,a}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mn>1</mn>
<mo>,</mo>
<mn>2</mn>
<mo>,</mo>
<mn>3</mn>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<mi>a</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle 1,2,3,\dots ,a}</annotation>
</semantics>
</math></span><img src="./a4bb00418f882c890191f811e30bc4fa078874c0.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:11.963ex; height:2.509ex;" alt="{\displaystyle 1,2,3,\dots ,a}" loading="lazy"></span> or the pattern <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle b,b-1,\dots ,2,1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>b</mi>
<mo>,</mo>
<mi>b</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<mn>2</mn>
<mo>,</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle b,b-1,\dots ,2,1}</annotation>
</semantics>
</math></span><img src="./ae69ee7131d809f442392c9b18ca86119526d387.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:15.569ex; height:2.509ex;" alt="{\displaystyle b,b-1,\dots ,2,1}" loading="lazy"></span>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Computer_science_origins">Computer science origins</h2></div>
<p>The study of permutation patterns began in earnest with <a href="Donald_Knuth" title="Donald Knuth">Donald Knuth</a>'s consideration of <a href="Stack-sortable_permutation" title="Stack-sortable permutation">stack-sorting</a> in 1968.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> Knuth showed that the permutation π can be sorted by a <a href="Stack_(data_structure)" class="mw-redirect" title="Stack (data structure)">stack</a> if and only if π avoids 231, and that the stack-sortable permutations are enumerated by the <a href="Catalan_number" title="Catalan number">Catalan numbers</a>.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> Knuth also raised questions about sorting with <a href="Double-ended_queue" title="Double-ended queue">deques</a>. In particular, Knuth's question asking how many permutation of <i>n</i> elements are obtainable with the use of a deque remains open.<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> Shortly thereafter, <a href="Robert_Tarjan" title="Robert Tarjan">Robert Tarjan</a> (<a href="#CITEREFTarjan1972">1972</a>) investigated sorting by networks of stacks,<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> while <a href="Vaughan_Pratt" title="Vaughan Pratt">Vaughan Pratt</a> (<a href="#CITEREFPratt1973">1973</a>) showed that the permutation π can be sorted by a deque if and only if for all <i>k</i>, π avoids 5,2,7,4,...,4<i>k</i>+1,4<i>k</i>−2,3,4<i>k</i>,1, and 5,2,7,4,...,4<i>k</i>+3,4<i>k</i>,1,4<i>k</i>+2,3, and every permutation that can be obtained from either of these by interchanging the last two elements or the 1 and the 2.<sup id="cite_ref-pratt73_7-0" class="reference"><a href="#cite_note-pratt73-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> Because this collection of permutations is infinite (in fact, it is the first published example of an infinite <a href="Antichain" title="Antichain">antichain</a> of permutations), it is not immediately clear how long it takes to decide if a permutation can be sorted by a deque. <a href="#CITEREFRosenstiehlTarjan1984">Rosenstiehl & Tarjan (1984)</a> later presented a linear (in the length of π) time algorithm which determines if π can be sorted by a deque.<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup>
</p><p>In his paper, Pratt remarked that this permutation pattern order “seems to be the only partial order on permutation that arises in a simple and natural way” and concludes by noting that “from an abstract point of view”, the permutation pattern order “is even more interesting than the networks we were characterizing”.<sup id="cite_ref-pratt73_7-1" class="reference"><a href="#cite_note-pratt73-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Enumerative_origins">Enumerative origins</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Enumerations_of_specific_permutation_classes" title="Enumerations of specific permutation classes">Enumerations of specific permutation classes</a></div>
<p>A prominent goal in the study of permutation patterns is in the enumeration of permutations avoiding a fixed (and typically short) permutation or set of permutations. Let Av<i><sub>n</sub></i>(B) denote the set of permutations of length <i>n</i> which avoid all of the permutations in the set <i>B</i>. (In the case <i>B</i> is a singleton, say {<i>β</i>}, the abbreviation Av<i><sub>n</sub></i>(<i>β</i>) is used instead.) As noted above, MacMahon and Knuth showed that |Av<i><sub>n</sub></i>(123)| = |Av<i><sub>n</sub></i>(231)| = <i>C<sub>n</sub></i>, the <i>n</i>th Catalan number. Thus these are isomorphic <a href="Combinatorial_class" title="Combinatorial class">combinatorial classes</a>.
</p><p><a href="#CITEREFSimionSchmidt1985">Simion & Schmidt (1985)</a> was the first paper to focus solely on enumeration. Among other results, Simion and Schmidt counted <a href="Parity_of_a_permutation" title="Parity of a permutation">even and odd permutations</a> avoiding a pattern of length three, counted permutations avoiding <a href="Enumerations_of_specific_permutation_classes#Classes_avoiding_two_patterns_of_length_3" title="Enumerations of specific permutation classes">two patterns of length three</a>, and gave the first bijective proof that 123- and 231-avoiding permutations are equinumerous.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> Since their paper, many other bijections have been given, see <a href="#CITEREFClaessonKitaev2008">Claesson & Kitaev (2008)</a> for a survey.<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup>
</p><p>In general, if |Av<i><sub>n</sub></i>(<i>β</i>)| = |Av<i><sub>n</sub></i>(<i>σ</i>)| for all <i>n</i>, then <i>β</i> and <i>σ</i> are said to be <a href="Wilf_equivalence" title="Wilf equivalence"><i>Wilf-equivalent</i></a>. Many Wilf-equivalences stem from the trivial fact that |Av<i><sub>n</sub></i>(<i>β</i>)| = |Av<i><sub>n</sub></i>(<i>β</i><sup>−1</sup>)| = |Av<i><sub>n</sub></i>(<i>β</i><sup>rev</sup>)| for all <i>n</i>, where <i>β</i><sup>−1</sup> denotes the <a href="Permutation#Product_and_inverse" title="Permutation">inverse</a> of <i>β</i> and <i>β</i><sup>rev</sup> denotes the reverse of <i>β</i>. (These two operations generate the <a href="Examples_of_groups" class="mw-redirect" title="Examples of groups">Dihedral group D<sub>8</sub></a> with a natural action on <a href="Permutation_matrices" class="mw-redirect" title="Permutation matrices">permutation matrices</a>.) However, there are also numerous examples of nontrivial Wilf-equivalences (such as that between <i>123</i> and <i>231</i>):
</p>
<ul><li><a href="#CITEREFStankova1994">Stankova (1994)</a> proved that the permutations 1342 and 2413 are Wilf-equivalent.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup></li>
<li><a href="#CITEREFStankovaWest2002">Stankova & West (2002)</a> proved that for any permutation <i>β</i>, the permutations 231 ⊕ <i>β</i> and 312 ⊕ <i>β</i> are Wilf-equivalent, where ⊕ denotes the <a href="Direct_sum_of_permutations" class="mw-redirect" title="Direct sum of permutations">direct sum</a> operation.<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup></li>
<li><a href="#CITEREFBackelinWestXin2007">Backelin, West & Xin (2007)</a> proved that for any permutation <i>β</i> and any positive integer <i>m</i>, the permutations 12..<i>m</i> ⊕ <i>β</i> and <i>m</i>...21 ⊕ <i>β</i> are Wilf-equivalent.<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup></li></ul>
<p>From these two Wilf-equivalences and the inverse and reverse symmetries, it follows that there are three different sequences |Av<i><sub>n</sub></i>(<i>β</i>)| where <i>β</i> is of length four:
</p>
<table class="wikitable" style="text-align:center;" border="1">
<tbody><tr>
<th><i>β</i></th>
<th>sequence enumerating Av<i><sub>n</sub></i>(<i>β</i>)</th>
<th><a href="On-Line_Encyclopedia_of_Integer_Sequences" title="On-Line Encyclopedia of Integer Sequences">OEIS</a> reference</th>
<th>exact enumeration reference
</th></tr>
<tr>
<td> 1342 </td>
<td>1, 2, 6, 23, 103, 512, 2740, 15485, 91245, 555662, ...</td>
<td><a href="https://oeis.org/A022558" class="extiw external" title="oeis:A022558">A022558</a></td>
<td><a href="#CITEREFBóna1997">Bóna (1997)</a><sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup>
</td></tr>
<tr>
<td> 1234 </td>
<td>1, 2, 6, 23, 103, 513, 2761, 15767, 94359, 586590, ...</td>
<td><a href="https://oeis.org/A005802" class="extiw external" title="oeis:A005802">A005802</a></td>
<td><a href="#CITEREFGessel1990">Gessel (1990)</a><sup id="cite_ref-gessel90_15-0" class="reference"><a href="#cite_note-gessel90-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup>
</td></tr>
<tr>
<td> 1324 </td>
<td>1, 2, 6, 23, 103, 513, 2762, 15793, 94776, 591950, ...</td>
<td><a href="https://oeis.org/A061552" class="extiw external" title="oeis:A061552">A061552</a></td>
<td>unenumerated
</td></tr></tbody></table>
<p>In the late 1980s, <a href="Richard_P._Stanley" title="Richard P. Stanley">Richard Stanley</a> and <a href="Herbert_Wilf" title="Herbert Wilf">Herbert Wilf</a> conjectured that for every permutation <i>β</i>, there is some constant <i>K</i> such that |Av<i><sub>n</sub></i>(<i>β</i>)| < <i>K<sup>n</sup></i>. This was known as the <a href="Stanley%E2%80%93Wilf_conjecture" title="Stanley–Wilf conjecture">Stanley–Wilf conjecture</a> until it was proved by <a href="Adam_Marcus_(mathematician)" title="Adam Marcus (mathematician)">Adam Marcus</a> and <a href="G%C3%A1bor_Tardos" title="Gábor Tardos">Gábor Tardos</a>.<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Permutation_classes">Permutation classes</h2></div>
<div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Permutation_class" title="Permutation class">Permutation class</a></div>
<p>A <i>permutation class</i>, also known as a <i>pattern class</i> (mostly in older work), or simply a <i>class</i> of permutations is a <a href="Ideal_(order_theory)" title="Ideal (order theory)">downset</a> in the permutation pattern order. Every class can be defined by the minimal permutations which do not lie inside it, its <i>basis</i>. Thus the basis for the stack-sortable permutations is {231}, while the basis for the deque-sortable permutations is known to be infinite. The <i>generating function</i> for a class is Σ x<sup>|π|</sup> where the sum is taken over all permutations π in the class.
</p>
<div class="mw-heading mw-heading2"><h2 id="Möbius_function">Möbius function</h2></div>
<p>As the set of permutations under the containment order forms a <a href="Partially_ordered_set" title="Partially ordered set">poset</a> it is natural to ask about its <a href="Incidence_algebra#Special_elements" title="Incidence algebra">Möbius function</a>, a goal first explicitly presented by <a href="#CITEREFWilf2002">Wilf (2002)</a>.<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup>
The goal in such investigations is to find a formula for the Möbius function of an interval [σ, π] in the permutation pattern poset which is more efficient than the naïve recursive definition. The first such result was established by <a href="#CITEREFSaganVatter2006">Sagan & Vatter (2006)</a>, who gave a formula for the Möbius function of an interval of <a href="Layered_permutation" title="Layered permutation">layered permutations</a>.<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup>
Later, <a href="#CITEREFBursteinJelinekJelinkovaSteingrimsson2011">Burstein et al. (2011)</a> generalized this result to intervals of <a href="Separable_permutation" title="Separable permutation">separable permutations</a>.<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup>
</p><p>It is known that, asymptotically, at least 39.95% of all permutations π of length <i>n</i> satisfy μ(1, π)=0 (that is, the principal Möbius function is equal to zero),<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup> but for each <i>n</i> there exist permutations π such that μ(1, π) is an exponential function of <i>n</i>.<sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Computational_complexity">Computational complexity</h2></div>
<p>Given a permutation <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \tau }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>τ<!-- τ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \tau }</annotation>
</semantics>
</math></span><img src="./38a7dcde9730ef0853809fefc18d88771f95206c.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.202ex; height:1.676ex;" alt="{\displaystyle \tau }" loading="lazy"></span> (called the <i>text</i>) of length <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>n</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n}</annotation>
</semantics>
</math></span><img src="./a601995d55609f2d9f5e233e36fbe9ea26011b3b.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}" loading="lazy"></span> and another permutation <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>π<!-- π --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \pi }</annotation>
</semantics>
</math></span><img src="./9be4ba0bb8df3af72e90a0535fabcc17431e540a.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }" loading="lazy"></span> of length <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle k}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>k</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle k}</annotation>
</semantics>
</math></span><img src="./c3c9a2c7b599b37105512c5d570edc034056dd40.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.211ex; height:2.176ex;" alt="{\displaystyle k}" loading="lazy"></span> (called the <i>pattern</i>), the <i>permutation pattern matching (PPM)</i> problem asks whether <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>π<!-- π --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \pi }</annotation>
</semantics>
</math></span><img src="./9be4ba0bb8df3af72e90a0535fabcc17431e540a.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }" loading="lazy"></span> is contained in <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \tau }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>τ<!-- τ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \tau }</annotation>
</semantics>
</math></span><img src="./38a7dcde9730ef0853809fefc18d88771f95206c.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.202ex; height:1.676ex;" alt="{\displaystyle \tau }" loading="lazy"></span>. When both <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>n</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n}</annotation>
</semantics>
</math></span><img src="./a601995d55609f2d9f5e233e36fbe9ea26011b3b.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}" loading="lazy"></span> and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle k}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>k</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle k}</annotation>
</semantics>
</math></span><img src="./c3c9a2c7b599b37105512c5d570edc034056dd40.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.211ex; height:2.176ex;" alt="{\displaystyle k}" loading="lazy"></span> are regarded as variables, the problem is known to be <a href="NP-complete" class="mw-redirect" title="NP-complete">NP-complete</a>, and the problem of counting the number of such matches is <a href="Sharp-P-complete" class="mw-redirect" title="Sharp-P-complete">#P-complete</a>.<sup id="cite_ref-BBL_1998_22-0" class="reference"><a href="#cite_note-BBL_1998-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> However, PPM can be solved in <a href="Linear_time" class="mw-redirect" title="Linear time">linear time</a> when <i>k</i> is a constant. Indeed, Guillemot and Marx<sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup> showed that PPM can be solved in time <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 2^{O(k^{2}\log k)}\cdot n}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mi>O</mi>
<mo stretchy="false">(</mo>
<msup>
<mi>k</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<mi>log</mi>
<mo><!-- --></mo>
<mi>k</mi>
<mo stretchy="false">)</mo>
</mrow>
</msup>
<mo>⋅<!-- ⋅ --></mo>
<mi>n</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle 2^{O(k^{2}\log k)}\cdot n}</annotation>
</semantics>
</math></span><img src="./dafb9935a9ee6cd2c6ec8b7a12d1c3b40fd0f87c.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:12.422ex; height:3.009ex;" alt="{\displaystyle 2^{O(k^{2}\log k)}\cdot n}" loading="lazy"></span>, meaning that it is <a href="Fixed-parameter_tractable" class="mw-redirect" title="Fixed-parameter tractable">fixed-parameter tractable</a> with respect to <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle k}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>k</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle k}</annotation>
</semantics>
</math></span><img src="./c3c9a2c7b599b37105512c5d570edc034056dd40.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.211ex; height:2.176ex;" alt="{\displaystyle k}" loading="lazy"></span>.
</p><p>There are several variants on the PPM problem, as surveyed by Bruner and Lackner.<sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup> For example, if the match is required to consist of contiguous entries then the problem can be solved in polynomial time.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> A different natural variant is obtained when the pattern is restricted to a proper permutation class <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>. This problem is known as <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>-Pattern PPM and it was shown to be polynomial-time solvable for <a href="Separable_permutations" class="mw-redirect" title="Separable permutations">separable permutations</a>.<sup id="cite_ref-BBL_1998_22-1" class="reference"><a href="#cite_note-BBL_1998-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> Later, Jelínek and Kynčl<sup id="cite_ref-JK_2017_26-0" class="reference"><a href="#cite_note-JK_2017-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup> completely resolved the complexity of <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mbox{Av}}(\sigma )}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="false" scriptlevel="0">
<mtext>Av</mtext>
</mstyle>
</mrow>
<mo stretchy="false">(</mo>
<mi>σ<!-- σ --></mi>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mbox{Av}}(\sigma )}</annotation>
</semantics>
</math></span><img src="./e05c5444bf0bd9d8d552f8a8500c939814e90084.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:6.11ex; height:2.843ex;" alt="{\displaystyle {\mbox{Av}}(\sigma )}" loading="lazy"></span>-Pattern PPM by showing that it is polynomial-time solvable when <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \sigma }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>σ<!-- σ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \sigma }</annotation>
</semantics>
</math></span><img src="./59f59b7c3e6fdb1d0365a494b81fb9a696138c36.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle \sigma }" loading="lazy"></span> is equal to one of 1, 12, 21, 132, 231, 312 or 213 and NP-complete otherwise.
</p><p>Another variant is when both the pattern and text are restricted to a proper permutation class <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>, in which case the problem is called <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>-PPM. For example, Guillemot and Vialette<sup id="cite_ref-27" class="reference"><a href="#cite_note-27"><span class="cite-bracket">[</span>27<span class="cite-bracket">]</span></a></sup> showed that <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mbox{Av}}(321)}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="false" scriptlevel="0">
<mtext>Av</mtext>
</mstyle>
</mrow>
<mo stretchy="false">(</mo>
<mn>321</mn>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mbox{Av}}(321)}</annotation>
</semantics>
</math></span><img src="./fa741166751d5d9e4bad9bf6b4cd4fd0b3b0d56d.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:8.267ex; height:2.843ex;" alt="{\displaystyle {\mbox{Av}}(321)}" loading="lazy"></span>-PPM could be solved in <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle O(k^{2}n^{6})}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>O</mi>
<mo stretchy="false">(</mo>
<msup>
<mi>k</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<msup>
<mi>n</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>6</mn>
</mrow>
</msup>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle O(k^{2}n^{6})}</annotation>
</semantics>
</math></span><img src="./c4c8c9bf58436186b7b166dc9717fd14cd6c64fc.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:8.297ex; height:3.176ex;" alt="{\displaystyle O(k^{2}n^{6})}" loading="lazy"></span> time. <a href="Michael_H._Albert" title="Michael H. Albert">Albert</a>, Lackner, Lackner, and Vatter<sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup> later lowered this to <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle O(kn)}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>O</mi>
<mo stretchy="false">(</mo>
<mi>k</mi>
<mi>n</mi>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle O(kn)}</annotation>
</semantics>
</math></span><img src="./6ef610f176fc2b47d4e52605ae0a86d0a16cb67f.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:6.189ex; height:2.843ex;" alt="{\displaystyle O(kn)}" loading="lazy"></span> and showed that the same bound holds for the class of <a href="Skew-merged_permutation" title="Skew-merged permutation">skew-merged permutations</a>. They further asked if the <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>-PPM problem can be solved in polynomial time for every fixed proper permutation class <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mathcal {C}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow class="MJX-TeXAtom-ORD">
<mi class="MJX-tex-caligraphic" mathvariant="script">C</mi>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mathcal {C}}}</annotation>
</semantics>
</math></span><img src="./e7b3edab7022ca9e2976651bc59c489513ee9019.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.239ex; height:2.176ex;" alt="{\displaystyle {\mathcal {C}}}" loading="lazy"></span>. This question was answered negatively by Jelínek and Kynčl who showed that <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mbox{Av}}(4321)}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="false" scriptlevel="0">
<mtext>Av</mtext>
</mstyle>
</mrow>
<mo stretchy="false">(</mo>
<mn>4321</mn>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mbox{Av}}(4321)}</annotation>
</semantics>
</math></span><img src="./d795462a4c2bbe34861e4f2867cd92e4210b6038.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:9.43ex; height:2.843ex;" alt="{\displaystyle {\mbox{Av}}(4321)}" loading="lazy"></span>-PPM is in fact NP-complete.<sup id="cite_ref-JK_2017_26-1" class="reference"><a href="#cite_note-JK_2017-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup> Later, Jelínek, Opler, and Pekárek<sup id="cite_ref-29" class="reference"><a href="#cite_note-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup> showed that <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\mbox{Av}}(\sigma )}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="false" scriptlevel="0">
<mtext>Av</mtext>
</mstyle>
</mrow>
<mo stretchy="false">(</mo>
<mi>σ<!-- σ --></mi>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\mbox{Av}}(\sigma )}</annotation>
</semantics>
</math></span><img src="./e05c5444bf0bd9d8d552f8a8500c939814e90084.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:6.11ex; height:2.843ex;" alt="{\displaystyle {\mbox{Av}}(\sigma )}" loading="lazy"></span>-PPM is NP-complete for any <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \sigma }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>σ<!-- σ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \sigma }</annotation>
</semantics>
</math></span><img src="./59f59b7c3e6fdb1d0365a494b81fb9a696138c36.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle \sigma }" loading="lazy"></span> of length at least 4 not symmetric to one of 3412, 3142, 4213, 4123 or 41352.
</p>
<div class="mw-heading mw-heading2"><h2 id="Packing_densities">Packing densities</h2></div>
<p>The permutation π is said to be β-<i>optimal</i> if no permutation of the same length as π has more copies of β. In his address to the SIAM meeting on Discrete Mathematics in 1992, Wilf defined the <i>packing density</i> of the permutation β of length <i>k</i> as
</p>
<dl><dd><span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \lim _{n\rightarrow \infty }{\frac {{\text{number of copies of }}\beta {\text{ in a }}\beta {\text{-optimal permutation of length }}n}{\displaystyle {n \choose k}}}.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<munder>
<mo movablelimits="true" form="prefix">lim</mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo stretchy="false">→<!-- → --></mo>
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mrow>
</munder>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mrow>
<mrow class="MJX-TeXAtom-ORD">
<mtext>number of copies of </mtext>
</mrow>
<mi>β<!-- β --></mi>
<mrow class="MJX-TeXAtom-ORD">
<mtext> in a </mtext>
</mrow>
<mi>β<!-- β --></mi>
<mrow class="MJX-TeXAtom-ORD">
<mtext>-optimal permutation of length </mtext>
</mrow>
<mi>n</mi>
</mrow>
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mrow class="MJX-TeXAtom-OPEN">
<mo maxsize="2.047em" minsize="2.047em">(</mo>
</mrow>
<mfrac linethickness="0">
<mi>n</mi>
<mi>k</mi>
</mfrac>
<mrow class="MJX-TeXAtom-CLOSE">
<mo maxsize="2.047em" minsize="2.047em">)</mo>
</mrow>
</mrow>
</mrow>
</mstyle>
</mfrac>
</mrow>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \lim _{n\rightarrow \infty }{\frac {{\text{number of copies of }}\beta {\text{ in a }}\beta {\text{-optimal permutation of length }}n}{\displaystyle {n \choose k}}}.}</annotation>
</semantics>
</math></span><img src="./6a384b330ace7ffe3a88e93d65697547abea46fd.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -5.838ex; width:66.55ex; height:9.343ex;" alt="{\displaystyle \lim _{n\rightarrow \infty }{\frac {{\text{number of copies of }}\beta {\text{ in a }}\beta {\text{-optimal permutation of length }}n}{\displaystyle {n \choose k}}}.}" loading="lazy"></span></dd></dl>
<p>An unpublished argument of <a href="Fred_Galvin" title="Fred Galvin">Fred Galvin</a> shows that the quantity inside this <a href="Limit_of_a_sequence" title="Limit of a sequence">limit</a> is nonincreasing for <i>n</i> ≥ <i>k</i>, and so the limit exists. When β is monotone, its packing density is clearly 1, and packing densities are invariant under the group of symmetries generated by inverse and reverse, so for permutations of length three, there is only one nontrivial packing density. Walter Stromquist (unpublished) settled this case by showing that the packing density of 132 is <span class="texhtml">2<span class="nowrap">√<span style="border-top:1px solid; padding:0 0.1em;">3</span></span> − 3</span>, approximately 0.46410.
</p><p>For permutations β of length four, there are (due to symmetries) seven cases to consider:
</p>
<table class="wikitable" style="text-align:center;" border="1">
<tbody><tr>
<th>β</th>
<th>packing density</th>
<th>reference
</th></tr>
<tr>
<td> 1234 </td>
<td>1</td>
<td>trivial
</td></tr>
<tr>
<td> 1432 </td>
<td>root of <span class="texhtml"><i>x</i><sup>3</sup> − 12<i>x</i><sup>2</sup> + 156<i>x</i> − 64 ≅ 0.42357</span></td>
<td><a href="#CITEREFPrice1997">Price (1997)</a><sup id="cite_ref-price97_30-0" class="reference"><a href="#cite_note-price97-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup>
</td></tr>
<tr>
<td> 2143 </td>
<td><span class="texhtml"><style data-mw-deduplicate="TemplateStyles:r1214402035">
/* start https://en.wikipedia.org/ */
.mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center}.mw-parser-output .sfrac .num{display:block;line-height:1em;margin:0.0em 0.1em;border-bottom:1px solid}.mw-parser-output .sfrac .den{display:block;line-height:1em;margin:0.1em 0.1em}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
/* end https://en.wikipedia.org/ */
</style><span class="sfrac"><span class="tion"><span class="num">3</span><span class="sr-only">/</span><span class="den">8</span></span></span> = 0.375</span></td>
<td><a href="#CITEREFPrice1997">Price (1997)</a><sup id="cite_ref-price97_30-1" class="reference"><a href="#cite_note-price97-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup>
</td></tr>
<tr>
<td> 1243 </td>
<td><span class="texhtml"><span class="sfrac"><span class="tion"><span class="num">3</span><span class="sr-only">/</span><span class="den">8</span></span></span> = 0.375</span></td>
<td><a href="#CITEREFAlbertAtkinsonHandleyHolton2002">Albert et al. (2002)</a><sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">[</span>31<span class="cite-bracket">]</span></a></sup>
</td></tr>
<tr>
<td> 1324 </td>
<td>conjectured to be <span class="texhtml">≅ 0.244</span></td>
<td>
</td></tr>
<tr>
<td> 1342 </td>
<td>conjectured to be <span class="texhtml">≅ 0.19658</span></td>
<td>
</td></tr>
<tr>
<td> 2413 </td>
<td>conjectured to be <span class="texhtml">≅ 0.10474</span></td>
<td>
</td></tr></tbody></table>
<p>For the three unknown permutations, there are bounds and conjectures. <a href="#CITEREFPrice1997">Price (1997)</a> used an approximation algorithm which suggests that the packing density of 1324 is around 0.244.<sup id="cite_ref-price97_30-2" class="reference"><a href="#cite_note-price97-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup> Birzhan Batkeyev (unpublished) constructed a family of permutations showing that the packing density of 1342 is at least the product of the packing densities of 132 and 1432, approximately 0.19658. This is conjectured to be the precise packing density of 1342. <a href="#CITEREFPresuttiStromquist2010">Presutti & Stromquist (2010)</a> provided a lower bound on the packing density of 2413. This lower bound, which can be expressed in terms of an integral, is approximately 0.10474, and conjectured to be the true packing density.<sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Superpatterns">Superpatterns</h2></div>
<div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Superpattern" title="Superpattern">Superpattern</a></div>
<p>A <i>k</i>-<b>superpattern</b> is a permutation that contains all permutations of length <i>k</i>. For example, 25314 is a 3-superpattern because it contains all 6 permutations of length 3. It is known that <i>k</i>-superpatterns must have length at least <i>k</i><sup>2</sup>/<i>e</i><sup>2</sup>, where <i>e</i> ≈ 2.71828 is <a href="E_(mathematical_constant)" title="E (mathematical constant)">Euler's number</a>,<sup id="cite_ref-33" class="reference"><a href="#cite_note-33"><span class="cite-bracket">[</span>33<span class="cite-bracket">]</span></a></sup> and that there exist <i>k</i>-superpatterns of length ⌈(<i>k</i><sup>2</sup> + 1)/2⌉.<sup id="cite_ref-engenvatter_34-0" class="reference"><a href="#cite_note-engenvatter-34"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup>
This upper bound is conjectured to be best possible, up to lower-order terms.<sup id="cite_ref-eelw_35-0" class="reference"><a href="#cite_note-eelw-35"><span class="cite-bracket">[</span>35<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Generalizations">Generalizations</h2></div>
<p>The type of pattern defined above, in which entries do not need to occur consecutively, is called a <i>classical</i> (permutation) pattern.
If the entries are required to be consecutive, then the pattern is called a <i>consecutive pattern</i>.
</p><p>There are several ways in which the notion of "pattern" has been generalized. For example, a <i>vincular pattern</i> is a permutation containing dashes indicating which adjacent pairs of entries need not occur consecutively. For example, the permutation 314265 has two copies of the dashed pattern 2−31−4, given by the entries 3426 and 3425. For a dashed pattern β and any permutation π, we write β(π) for the number of copies of β in π. Thus the number of inversions in π is 2−1(π), while the number of descents is 21(π). Going further, the number of <i>valleys</i> in π is 213(π) + 312(π), while the number of <i>peaks</i> is 231(π) + 132(π). These patterns were introduced by <a href="#CITEREFBabsonSteingrímsson2000">Babson & Steingrímsson (2000)</a>, who showed that almost all known Mahonian statistics could be expressed in terms of vincular permutations.<sup id="cite_ref-36" class="reference"><a href="#cite_note-36"><span class="cite-bracket">[</span>36<span class="cite-bracket">]</span></a></sup> For example, the <a href="Major_index" title="Major index">Major index</a> of π is equal to 1−32(π) + 2−31(π) + 3−21(π) + 21(π).
</p><p>Another generalization is that of a <i>barred pattern</i>, in which some of the entries are barred. For π to avoid the barred pattern β means that every set of entries of π which form a copy of the nonbarred entries of β can be extended to form a copy of all entries of β. <a href="#CITEREFWest1993">West (1993)</a> introduced these types of patterns in his study of permutations which could be sorted by passing them twice through a stack.<sup id="cite_ref-37" class="reference"><a href="#cite_note-37"><span class="cite-bracket">[</span>37<span class="cite-bracket">]</span></a></sup> (Note that West's definition of sorting twice through a stack is not the same as sorting with two stacks in series.) Another example of barred patterns occurs in the work of <a href="#CITEREFBousquet-MélouButler2007">Bousquet-Mélou & Butler (2007)</a>, who showed that the <a href="Schubert_variety" title="Schubert variety">Schubert variety</a> corresponding to π is <a href="Schubert_variety#Locally_factorial" title="Schubert variety">locally factorial</a> if and only if π avoids 1324 and 21<span style="text-decoration: overline;">3</span>54.<sup id="cite_ref-38" class="reference"><a href="#cite_note-38"><span class="cite-bracket">[</span>38<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist reflist-columns references-column-width" style="column-width: 30em;">
<ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFMacMahon1915" class="citation cs2"><a href="Percy_Alexander_MacMahon" title="Percy Alexander MacMahon">MacMahon, Percy A.</a> (1915), <i>Combinatory Analysis</i>, London: Cambridge University Press, <a rel="nofollow" class="external text" href="https://archive.org/details/combinatoryanal01macmuoft/page/124">Volume I, Section III, Chapter V</a></cite>.</span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><a href="#CITEREFMacMahon1915">MacMahon (1915)</a>, Items 97 and 98.</span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite id="CITEREFKnuth1968" class="citation cs2"><a href="Donald_Knuth" title="Donald Knuth">Knuth, Donald E.</a> (1968), <i><a href="The_Art_of_Computer_Programming" title="The Art of Computer Programming">The Art Of Computer Programming Vol. 1</a></i>, Boston: Addison-Wesley, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>0-201-89683-4</bdi>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0286317">0286317</a>, <a href="OCLC_(identifier)" class="mw-redirect" title="OCLC (identifier)">OCLC</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/oclc/155842391">155842391</a></cite>.</span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><a href="#CITEREFKnuth1968">Knuth (1968)</a>, Section 2.2.1, Exercises 4 and 5.</span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><a href="#CITEREFKnuth1968">Knuth (1968)</a>, Section 2.2.1, Exercise 13, rated M49 in the first printing, and M48 in the second.</span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><cite id="CITEREFTarjan1972" class="citation cs2"><a href="Robert_Tarjan" title="Robert Tarjan">Tarjan, Robert</a> (1972), "Sorting using networks of queues and stacks", <i><a href="Journal_of_the_ACM" title="Journal of the ACM">Journal of the ACM</a></i>, <b>19</b> (2): <span class="nowrap">341–</span>346, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F321694.321704">10.1145/321694.321704</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0298803">0298803</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:13608929">13608929</a></cite>.</span>
</li>
<li id="cite_note-pratt73-7"><span class="mw-cite-backlink">^ <a href="#cite_ref-pratt73_7-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-pratt73_7-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPratt1973" class="citation cs2"><a href="Vaughan_Pratt" title="Vaughan Pratt">Pratt, Vaughan R.</a> (1973), "Computing permutations with double-ended queues. Parallel stacks and parallel queues", <i><a href="Symposium_on_Theory_of_Computing" title="Symposium on Theory of Computing">Proc. Fifth Annual ACM Symposium on Theory of Computing (Austin, Tex., 1973)</a></i>, pp. <span class="nowrap">268–</span>277, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F800125.804058">10.1145/800125.804058</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0489115">0489115</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:15740957">15740957</a></cite>.</span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite id="CITEREFRosenstiehlTarjan1984" class="citation cs2"><a href="Pierre_Rosenstiehl" title="Pierre Rosenstiehl">Rosenstiehl, Pierre</a>; <a href="Robert_Tarjan" title="Robert Tarjan">Tarjan, Robert</a> (1984), "Gauss codes, planar Hamiltonian graphs, and stack-sortable permutations", <i>Journal of Algorithms</i>, <b>5</b> (3): <span class="nowrap">375–</span>390, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0196-6774%2884%2990018-X">10.1016/0196-6774(84)90018-X</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0756164">0756164</a></cite>.</span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite id="CITEREFSimionSchmidt1985" class="citation cs2"><a href="Rodica_Simion" title="Rodica Simion">Simion, Rodica</a>; Schmidt, Frank W. (1985), "Restricted permutations", <i><a href="European_Journal_of_Combinatorics" title="European Journal of Combinatorics">European Journal of Combinatorics</a></i>, <b>6</b> (4): <span class="nowrap">383–</span>406, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fs0195-6698%2885%2980052-4">10.1016/s0195-6698(85)80052-4</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=0829358">0829358</a></cite>.</span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite id="CITEREFClaessonKitaev2008" class="citation cs2">Claesson, Anders; <a href="Sergey_Kitaev" title="Sergey Kitaev">Kitaev, Sergey</a> (2008), <a rel="nofollow" class="external text" href="https://www.mat.univie.ac.at/~slc/wpapers/s60claekit.html">"Classification of bijections between 321- and 132-avoiding permutations"</a>, <i><a href="S%C3%A9minaire_Lotharingien_de_Combinatoire" title="Séminaire Lotharingien de Combinatoire">Séminaire Lotharingien de Combinatoire</a></i>, <b>60</b>: B60d, 30pp, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0805.1325">0805.1325</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2465405">2465405</a></cite>.</span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite id="CITEREFStankova1994" class="citation cs2">Stankova, Zvezdelina (1994), "Forbidden subsequences", <i><a href="Discrete_Mathematics_(journal)" title="Discrete Mathematics (journal)">Discrete Mathematics</a></i>, <b>132</b> (<span class="nowrap">1–</span>3): <span class="nowrap">291–</span>316, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0012-365X%2894%2990242-9">10.1016/0012-365X(94)90242-9</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1297387">1297387</a></cite>.</span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite id="CITEREFStankovaWest2002" class="citation cs2">Stankova, Zvezdelina; West, Julian (2002), "A New class of Wilf-Equivalent Permutations", <i><a href="Journal_of_Algebraic_Combinatorics" title="Journal of Algebraic Combinatorics">Journal of Algebraic Combinatorics</a></i>, <b>15</b> (3): <span class="nowrap">271–</span>290, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/0103152">math/0103152</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1023%2FA%3A1015016625432">10.1023/A:1015016625432</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1900628">1900628</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:13921676">13921676</a></cite>.</span>
</li>
<li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><cite id="CITEREFBackelinWestXin2007" class="citation cs2">Backelin, Jörgen; West, Julian; Xin, Guoce (2007), "Wilf-equivalence for singleton classes", <i><a href="Advances_in_Applied_Mathematics" title="Advances in Applied Mathematics">Advances in Applied Mathematics</a></i>, <b>38</b> (2): <span class="nowrap">133–</span>149, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.aam.2004.11.006">10.1016/j.aam.2004.11.006</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2290807">2290807</a></cite>.</span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><cite id="CITEREFBóna1997" class="citation cs2"><a href="Mikl%C3%B3s_B%C3%B3na" title="Miklós Bóna">Bóna, Miklós</a> (1997), "Exact enumeration of 1342-avoiding permutations: a close link with labeled trees and planar maps", <i><a href="Journal_of_Combinatorial_Theory" title="Journal of Combinatorial Theory">Journal of Combinatorial Theory</a></i>, Series A, <b>80</b> (2): <span class="nowrap">257–</span>272, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/9702223">math/9702223</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1006%2Fjcta.1997.2800">10.1006/jcta.1997.2800</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1485138">1485138</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:18352890">18352890</a></cite>.</span>
</li>
<li id="cite_note-gessel90-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-gessel90_15-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFGessel1990" class="citation cs2">Gessel, Ira M. (1990), "Symmetric functions and <i>P</i>-recursiveness", <i><a href="Journal_of_Combinatorial_Theory" title="Journal of Combinatorial Theory">Journal of Combinatorial Theory</a></i>, Series A, <b>53</b> (2): <span class="nowrap">257–</span>285, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0097-3165%2890%2990060-A">10.1016/0097-3165(90)90060-A</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1041448">1041448</a></cite>.</span>
</li>
<li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><cite id="CITEREFMarcusTardos2004" class="citation cs2">Marcus, Adam; <a href="G%C3%A1bor_Tardos" title="Gábor Tardos">Tardos, Gábor</a> (2004), "Excluded permutation matrices and the Stanley-Wilf conjecture", <i><a href="Journal_of_Combinatorial_Theory" title="Journal of Combinatorial Theory">Journal of Combinatorial Theory</a></i>, Series A, <b>107</b> (1): <span class="nowrap">153–</span>160, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.jcta.2004.04.002">10.1016/j.jcta.2004.04.002</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2063960">2063960</a></cite>.</span>
</li>
<li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><cite id="CITEREFWilf2002" class="citation cs2"><a href="Herbert_Wilf" title="Herbert Wilf">Wilf, Herbert</a> (2002), "Patterns of permutations", <i><a href="Discrete_Mathematics_(journal)" title="Discrete Mathematics (journal)">Discrete Mathematics</a></i>, <b>257</b> (2): <span class="nowrap">575–</span>583, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2FS0012-365X%2802%2900515-0">10.1016/S0012-365X(02)00515-0</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1935750">1935750</a></cite>.</span>
</li>
<li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><cite id="CITEREFSaganVatter2006" class="citation cs2"><a href="Bruce_Sagan" title="Bruce Sagan">Sagan, Bruce</a>; Vatter, Vince (2006), "The Möbius function of a composition poset", <i><a href="Journal_of_Algebraic_Combinatorics" title="Journal of Algebraic Combinatorics">Journal of Algebraic Combinatorics</a></i>, <b>24</b> (2): <span class="nowrap">117–</span>136, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/0507485">math/0507485</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs10801-006-0017-4">10.1007/s10801-006-0017-4</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2259013">2259013</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:11283347">11283347</a></cite>.</span>
</li>
<li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><cite id="CITEREFBursteinJelinekJelinkovaSteingrimsson2011" class="citation cs2">Burstein, Alexander; Jelinek, Vit; Jelinkova, Eva; <a href="Einar_Steingr%C3%ADmsson" title="Einar Steingrímsson">Steingrimsson, Einar</a> (2011), "The Möbius function of separable and decomposable permutations", <i><a href="Journal_of_Combinatorial_Theory" title="Journal of Combinatorial Theory">Journal of Combinatorial Theory</a></i>, Series A, <b>118</b> (1): <span class="nowrap">2346–</span>2364, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.jcta.2011.06.002">10.1016/j.jcta.2011.06.002</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2834180">2834180</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:13978488">13978488</a></cite>.</span>
</li>
<li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><cite id="CITEREFBrignallJelínekKynčlMarchant2019" class="citation cs2">Brignall, Robert; Jelínek, Vit; Kynčl, Jan; Marchant, David (2019), <a rel="nofollow" class="external text" href="http://oro.open.ac.uk/66369/1/181012-Marchant-v101.pdf">"Zeros of the Möbius function of permutations"</a> <span class="cs1-format">(PDF)</span>, <i><a href="Mathematika" title="Mathematika">Mathematika</a></i>, <b>65</b> (4): <span class="nowrap">1074–</span>1092, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1810.05449">1810.05449</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1112%2FS0025579319000251">10.1112/S0025579319000251</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=3992365">3992365</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:53366318">53366318</a></cite></span>
</li>
<li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><cite id="CITEREFMarchant2020" class="citation cs2">Marchant, David (2020), "2413-balloon permutations and the growth of the Möbius function", <i><a href="Electronic_Journal_of_Combinatorics" title="Electronic Journal of Combinatorics">Electronic Journal of Combinatorics</a></i>, <b>27</b> (1): Article P1.7, 18 pp, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1812.05064">1812.05064</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.37236%2F8554">10.37236/8554</a></span></cite></span>
</li>
<li id="cite_note-BBL_1998-22"><span class="mw-cite-backlink">^ <a href="#cite_ref-BBL_1998_22-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-BBL_1998_22-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFBoseBussLubiw1998" class="citation cs2"><a href="Jit_Bose" title="Jit Bose">Bose, Prosenjit</a>; Buss, Jonathan F.; <a href="Anna_Lubiw" title="Anna Lubiw">Lubiw, Anna</a> (March 1998), "Pattern matching for permutations", <i><a href="Information_Processing_Letters" title="Information Processing Letters">Information Processing Letters</a></i>, <b>65</b> (5): <span class="nowrap">277–</span>283, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2FS0020-0190%2897%2900209-3">10.1016/S0020-0190(97)00209-3</a></cite></span>
</li>
<li id="cite_note-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-23">^</a></b></span> <span class="reference-text"><cite id="CITEREFGuillemotMarx,_Daniel2014" class="citation journal cs1">Guillemot, Sylvain; Marx, Daniel (2014). "Finding small patterns in permutations in linear time". <i>Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms</i>: 20. <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1307.3073">1307.3073</a></span>. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1137%2F1.9781611973402.7">10.1137/1.9781611973402.7</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-1-61197-338-9</bdi>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:1846959">1846959</a>.</cite></span>
</li>
<li id="cite_note-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-24">^</a></b></span> <span class="reference-text"><cite id="CITEREFBrunerLackner2013" class="citation cs2">Bruner, Marie-Louise; Lackner, Martin (2013), "The computational landscape of permutation patterns", <i>Pure Mathematics and Applications</i>, <b>24</b> (2): <span class="nowrap">83–</span>101, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1301.0340">1301.0340</a></span></cite></span>
</li>
<li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text"><cite id="CITEREFKubicaKulczyńskiRadoszewskiRytter2013" class="citation cs2">Kubica, M.; Kulczyński, T.; Radoszewski, J.; Rytter, W.; Waleń, T. (2013), "A linear time algorithm for consecutive permutation pattern matching", <i><a href="Information_Processing_Letters" title="Information Processing Letters">Information Processing Letters</a></i>, <b>113</b> (12): <span class="nowrap">430–</span>433, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.ipl.2013.03.015">10.1016/j.ipl.2013.03.015</a></cite></span>
</li>
<li id="cite_note-JK_2017-26"><span class="mw-cite-backlink">^ <a href="#cite_ref-JK_2017_26-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-JK_2017_26-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFJelínekKynčl2017" class="citation conference cs1">Jelínek, Vít; Kynčl, Jan (2017). "Hardness of Permutation Pattern Matching". <i>Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, Barcelona, Spain, Hotel Porta Fira, January 16-19</i>. SIAM. pp. <span class="nowrap">378–</span>396. <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1608.00529">1608.00529</a></span>. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1137%2F1.9781611974782.24">10.1137/1.9781611974782.24</a>.</cite></span>
</li>
<li id="cite_note-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-27">^</a></b></span> <span class="reference-text"><cite id="CITEREFGuillemotVialette2009" class="citation cs2">Guillemot, Sylvain; Vialette, Stéphane (2009), "Pattern matching for 321-avoiding permutations", <i>Algorithms and Computation</i>, Lecture Notes in Computer Science, vol. 5878, pp. <span class="nowrap">1064–</span>1073, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1511.01770">1511.01770</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-3-642-10631-6_107">10.1007/978-3-642-10631-6_107</a>, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-3-642-10630-9</bdi></cite></span>
</li>
<li id="cite_note-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-28">^</a></b></span> <span class="reference-text"><cite id="CITEREFAlbertLacknerLacknerVatter2016" class="citation cs2"><a href="Michael_H._Albert" title="Michael H. Albert">Albert, Michael</a>; Lackner, Marie-Louise; Lackner, Martin; Vatter, Vincent (2016), "The complexity of pattern matching for 321-avoiding and skew-merged permutations", <i>Discrete Mathematics & Theoretical Computer Science</i>, <b>18</b> (2), <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1510.06051">1510.06051</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.46298%2Fdmtcs.1308">10.46298/dmtcs.1308</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:5827603">5827603</a></cite></span>
</li>
<li id="cite_note-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-29">^</a></b></span> <span class="reference-text"><cite id="CITEREFJelínekOplerPekárek2021" class="citation conference cs1">Jelínek, Vít; Opler, Michal; Pekárek, Jakub (2021). "Griddings of Permutations and Hardness of Pattern Matching". <i>46th International Symposium on Mathematical Foundations of Computer Science, MFCS 2021, August 23-27, 2021, Tallinn, Estonia</i>. Schloss Dagstuhl - Leibniz-Zentrum für Informatik. pp. 65:1–65:22. <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/2107.10897">2107.10897</a></span>. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.4230%2FLIPIcs.MFCS.2021.65">10.4230/LIPIcs.MFCS.2021.65</a></span>.</cite></span>
</li>
<li id="cite_note-price97-30"><span class="mw-cite-backlink">^ <a href="#cite_ref-price97_30-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-price97_30-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-price97_30-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPrice1997" class="citation cs2">Price, Alkes (1997), <a rel="nofollow" class="external text" href="https://www.proquest.com/docview/304421853"><i>Packing densities of layered patterns</i></a>, Ph.D. thesis, University of Pennsylvania, <a href="ProQuest" title="ProQuest">ProQuest</a> <a rel="nofollow" class="external text" href="https://www.proquest.com/docview/304421853">304421853</a></cite>.</span>
</li>
<li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text"><cite id="CITEREFAlbertAtkinsonHandleyHolton2002" class="citation cs2"><a href="Michael_H._Albert" title="Michael H. Albert">Albert, Michael H.</a>; <a href="Michael_D._Atkinson" title="Michael D. Atkinson">Atkinson, M. D.</a>; Handley, C. C.; Holton, D. A.; Stromquist, W. (2002), <a rel="nofollow" class="external text" href="http://www.combinatorics.org/Volume_9/Abstracts/v9i1r5.html">"On packing densities of permutations"</a>, <i><a href="Electronic_Journal_of_Combinatorics" title="Electronic Journal of Combinatorics">Electronic Journal of Combinatorics</a></i>, <b>9</b>: Article R5, 20 pp, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.37236%2F1622">10.37236/1622</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1887086">1887086</a></cite>.</span>
</li>
<li id="cite_note-32"><span class="mw-cite-backlink"><b><a href="#cite_ref-32">^</a></b></span> <span class="reference-text"><cite id="CITEREFPresuttiStromquist2010" class="citation cs2">Presutti, Cathleen Battiste; Stromquist, Walter (2010), <a rel="nofollow" class="external text" href="https://works.swarthmore.edu/fac-math-stat/230">"Packing rates of measures and a conjecture for the packing density of 2413"</a>, in Linton, Steve; Ruškuc, Nik; Vatter, Vincent (eds.), <i>Permutation Patterns</i>, London Math. Soc. Lecture Notes, vol. 376, Cambridge University Press, pp. <span class="nowrap">287–</span>316, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FCBO9780511902499.015">10.1017/CBO9780511902499.015</a>, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0-521-72834-8</bdi></cite>.</span>
</li>
<li id="cite_note-33"><span class="mw-cite-backlink"><b><a href="#cite_ref-33">^</a></b></span> <span class="reference-text"><cite id="CITEREFArratia1999" class="citation cs2"><a href="Richard_Arratia" title="Richard Arratia">Arratia, Richard</a> (1999), <a rel="nofollow" class="external text" href="http://www.combinatorics.org/Volume_6/Abstracts/v6i1n1.html">"On the Stanley-Wilf conjecture for the number of permutations avoiding a given pattern"</a>, <i><a href="Electronic_Journal_of_Combinatorics" title="Electronic Journal of Combinatorics">Electronic Journal of Combinatorics</a></i>, <b>6</b>: Article N1, 4 pp, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.37236%2F1477">10.37236/1477</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1710623">1710623</a></cite>.</span>
</li>
<li id="cite_note-engenvatter-34"><span class="mw-cite-backlink"><b><a href="#cite_ref-engenvatter_34-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFEngenVatter2021" class="citation cs2">Engen, Michael; Vatter, Vincent (2021), "Containing all permutations", <i><a href="American_Mathematical_Monthly" class="mw-redirect" title="American Mathematical Monthly">American Mathematical Monthly</a></i>, <b>128</b> (1): <span class="nowrap">4–</span>24, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1810.08252">1810.08252</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1080%2F00029890.2021.1835384">10.1080/00029890.2021.1835384</a></span></cite></span>
</li>
<li id="cite_note-eelw-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-eelw_35-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFErikssonErikssonLinussonWästlund2007" class="citation cs2">Eriksson, Henrik; Eriksson, Kimmo; Linusson, Svante; Wästlund, Johan (2007), "Dense packing of patterns in a permutation", <i><a href="Annals_of_Combinatorics" title="Annals of Combinatorics">Annals of Combinatorics</a></i>, <b>11</b> (<span class="nowrap">3–</span>4): <span class="nowrap">459–</span>470, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs00026-007-0329-7">10.1007/s00026-007-0329-7</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2376116">2376116</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:2021533">2021533</a></cite>.</span>
</li>
<li id="cite_note-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-36">^</a></b></span> <span class="reference-text"><cite id="CITEREFBabsonSteingrímsson2000" class="citation cs2">Babson, Erik; <a href="Einar_Steingr%C3%ADmsson" title="Einar Steingrímsson">Steingrímsson, Einar</a> (2000), <a rel="nofollow" class="external text" href="http://www.emis.de/journals/SLC/wpapers/s44stein.html">"Generalized permutation patterns and a classification of the Mahonian statistics"</a>, <i><a href="S%C3%A9minaire_Lotharingien_de_Combinatoire" title="Séminaire Lotharingien de Combinatoire">Séminaire Lotharingien de Combinatoire</a></i>, <b>44</b>: Research article B44b, 18 pp, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1758852">1758852</a></cite>.</span>
</li>
<li id="cite_note-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-37">^</a></b></span> <span class="reference-text"><cite id="CITEREFWest1993" class="citation cs2">West, Julian (1993), "Sorting twice through a stack", <i><a href="Theoretical_Computer_Science_(journal)" title="Theoretical Computer Science (journal)">Theoretical Computer Science</a></i>, <b>117</b> (<span class="nowrap">1–</span>2): <span class="nowrap">303–</span>313, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0304-3975%2893%2990321-J">10.1016/0304-3975(93)90321-J</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1235186">1235186</a></cite>.</span>
</li>
<li id="cite_note-38"><span class="mw-cite-backlink"><b><a href="#cite_ref-38">^</a></b></span> <span class="reference-text"><cite id="CITEREFBousquet-MélouButler2007" class="citation cs2"><a href="Mireille_Bousquet-M%C3%A9lou" title="Mireille Bousquet-Mélou">Bousquet-Mélou, Mireille</a>; <a href="Steve_Butler_(mathematician)" title="Steve Butler (mathematician)">Butler, Steve</a> (2007), "Forest-like permutations", <i><a href="Annals_of_Combinatorics" title="Annals of Combinatorics">Annals of Combinatorics</a></i>, <b>11</b> (<span class="nowrap">3–</span>4): <span class="nowrap">335–</span>354, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/0603617">math/0603617</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs00026-007-0322-1">10.1007/s00026-007-0322-1</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2376109">2376109</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:31236417">31236417</a></cite>.</span>
</li>
</ol></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1290876196">
/* start https://en.wikipedia.org/ */
.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .infobox .side-box{font-size:100%}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1237033735">
/* start https://en.wikipedia.org/ */
@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}
/* end https://en.wikipedia.org/ */
</style><div class="side-box side-box-right sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">
/* start https://en.wikipedia.org/ */
.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}
/* end https://en.wikipedia.org/ */
</style>
<div class="side-box-flex">
<div class="side-box-image"><span class="noviewer" typeof="mw:File"></span></div>
<div class="side-box-text plainlist">Wikimedia Commons has media related to <span style="font-weight: bold; font-style: italic;"><a href="https://commons.wikimedia.org/wiki/Category:Permutation_patterns" class="extiw external" title="commons:Category:Permutation patterns">Permutation patterns</a></span>.</div></div>
</div>
<ul><li><a rel="nofollow" class="external text" href="https://www.cs.otago.ac.nz/staffpriv/malbert/permlab.php">PermLab: software for permutation patterns</a>, maintained by <a href="Michael_H._Albert" title="Michael H. Albert">Michael Albert</a>.</li>
<li><a rel="nofollow" class="external text" href="http://math.depaul.edu/~bridget/patterns.html">Database of Permutation Pattern Avoidance</a>, maintained by <a href="Bridget_Tenner" title="Bridget Tenner">Bridget Tenner</a>.</li>
<li><a rel="nofollow" class="external text" href="https://permpal.com/">PermPAL: The Permutation Pattern Avoidance Library</a>, a database of algorithmically-derived theorems about permutation classes, maintained by Christian Bean, Émile Nadeau, Jay Pantone and Henning Ulfarsson.</li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-06-25" href="https://en.wikipedia.org/wiki/?title=Permutation_pattern&oldid=1297274644">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>